package emitter

type SourceMapSpan struct {
	/** Line number in the js file*/
	EmittedLine int
	/** Column number in the js file */
	EmittedColumn int
	/** Line number in the ts file */
	SourceLine int
	/** Column number in the ts file */
	SourceColumn int
	/** Optional name (index into names array) associated with this span */
	NameIndex int
	/** ts file (index into sources array) associated with this span*/
	SourceIndex int
}

type SourceMapData struct {
	/** Where the sourcemap file is written */
	SourceMapFilePath string
	/** session map url written in the js file */
	JsSourceMappingURL string
	/** Source map's file field - js file name*/
	SourceMapFile string
	/** Source map's sourceRoot field - location where the sources will be present if not "" */
	SourceMapSourceRoot string
	/** Source map's sources field - list of sources that can be indexed in this session map*/
	SourceMapSources []string
	/** input session file (which one can use on program to get the file)
	  this is one to one mapping with the sourceMapSources list*/
	InputSourceFileNames []string
	/** Source map's names field - list of names that can be indexed in this session map*/
	SourceMapNames []string
	/** Source map's mapping field - encoded session map spans*/
	SourceMapMappings string
	/** Raw session map spans that were encoded into the sourceMapMappings*/
	SourceMapDecodedMappings []*SourceMapSpan
}

